package com.fastCms.business.frame.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 统一校验
 */
@Component
@ConfigurationProperties(prefix = "verify")
@Data
public class UnifyVerifyConfig {
    private Boolean isSendMessage = true;  //是否开启短信或邮箱开关
    private int expireMinutes;  //验证码有效期时长(单位:分钟)
    private int limitPeriod;    //限制周期(单位:小时)
    private int limitNum;      //发送次数限制

}
